// src/api/user.js
import http from "../utils/http";

export default {
  // 登录接口
  login(username: string) {
    return http.post("/user/login", { username });
  },
};
